package com.gubatian.jdk.analyse.register.client;

import java.util.HashMap;
import java.util.Map;

/**
 * 完整的服务注册表
 * @author: gubatian
 * @create: 2021-09-23 17:23
 */
public class Applications {
    private Map<String, Map<String, ServiceInstance>> registry = new HashMap<>();

    public Applications() {

    }

    public Applications(Map<String, Map<String, ServiceInstance>> registry) {
        this.registry = registry;
    }

    public Map<String, Map<String, ServiceInstance>> getRegistry() {
        return registry;
    }
    public void setRegistry(Map<String, Map<String, ServiceInstance>> registry) {
        this.registry = registry;
    }
}
